package com.example.demo.dto.common;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

/**
 * 前后端通用的 Input / Output 数据交换Model
 */
public class ConsultHistoryListModel {
    public final static String CONSULTANTHISTORYLISTNAME = "consultant_history_list";
    
    private List<ConsultHistoryModel> consultant_history_list;

    public ConsultHistoryListModel() {}

    public ConsultHistoryListModel(List<ConsultHistoryModel> consultant_history_list) {
        this.consultant_history_list = consultant_history_list;
    }

    @JSONField(name = CONSULTANTHISTORYLISTNAME)
    public List<ConsultHistoryModel> getConsultant_history_list() {
        return consultant_history_list;
    }

    @JSONField(name = CONSULTANTHISTORYLISTNAME)
    public void setConsultant_history_list(List<ConsultHistoryModel> consultant_history_list) {
        this.consultant_history_list = consultant_history_list;
    }

    @Override
    public String toString() {
        return "ConsultHistoryListModel{" +
                "consultant_history_list=" + consultant_history_list +
                '}';
    }
}
